//
//  IndexItem.h

//
//  Created by geng on 14-11-27.
//  Copyright (c) 2014年 geng. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol OAIndexItemDelegate ;
@interface OAIndexItem : UIImageView
{
    UIImageView*_blackView;
    UIImageView*_smallView;
    UILabel*_title;
    UIImageView*_bottomView;
    UIImage*_normalImage;
    UIImage*_selectedImage;
    
}
@property(nonatomic,assign)int  type;
@property(nonatomic,assign)id<OAIndexItemDelegate>delegate;
@property(nonatomic,strong)UIImage*selectedImage;
@property(nonatomic,strong)UIImage*normalImage;
@property(nonatomic,strong)UIColor*selectedColor;
@property(nonatomic,strong)UIColor*normalColor;
@property(nonatomic,assign)int isTap;
@property(nonatomic,strong)UILabel*title;
- (void)setSelected:(BOOL)isSelected;
@end
@protocol OAIndexItemDelegate <NSObject>

@optional
-(void)seletedItem:(OAIndexItem*)item;

@end